#ifndef CONTACTSVIEW_H
#define CONTACTSVIEW_H

#include <QListView>
#include "flickable/flickable.h"

class QKeyEvent;
class QMouseEvent;

class ContactsView : public QListView,  public Flickable
{
    Q_OBJECT
public:
    explicit ContactsView(QWidget *parent = 0);

protected:
    virtual QPoint scrollOffset() const;
    virtual void setScrollOffset(const QPoint &offset);

    //void keyReleaseEvent(QKeyEvent *event);
    void mousePressEvent(QMouseEvent *event);
    void mouseMoveEvent(QMouseEvent *event);
    void mouseReleaseEvent(QMouseEvent *event);

private:
    //int m_offset;

signals:

public slots:

};

#endif // CONTACTSVIEW_H
